#!/usr/bin/env python
# -*- coding: utf-8 -*-

from web.manager.log_manager import LogManager
from web.service.base_service import BaseService

Logger = LogManager.get_logger(__name__)

"""
EtfInfoservice类
"""


class EtfInfoService(BaseService):

    def find_all(self):
        """
        查询所有记录
        """

        return self.etf_info_dao.find_all()

    def find_code(self):
        """
        查询所有记录的code_字段
        """

        return self.etf_info_dao.find_code()